Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made the container uploading and language registration two separate actions #153

Merged
merged 7 commits into from
Nov 29, 2023

Conversation

ahsimb
Copy link
Collaborator

@ahsimb ahsimb commented Nov 22, 2023

closes #151

It also fixes a couple of broken integration tests, with one - test_model_downloader_udf_script - yet to be fixed.

@ahsimb ahsimb added the feature New feature or request label Nov 22, 2023
@ahsimb ahsimb self-assigned this Nov 22, 2023
"""
Generates an SQL command to register the SLC container at the required level. The command will
preserve existing registrations of other containers identified by different language aliases.
Registration of a container with the same alias, if exists, will be overwritten.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, for this we should have a option. When set to true we overwrite and if not, we raise an exception

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to have this option at both API and CLI levels? What should be the default?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think, it makes sense to have it at both. I am inclined to throw an error when it already exists as the default for the standalone project. And, for the sandbox we would overwrite it always overwrite, because there is the situation different.

Copy link
Collaborator

@MarleneKress79789 MarleneKress79789 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine to me apart from Torstens comments. But we should add documentation for the new functionality.

@ahsimb
Copy link
Collaborator Author

ahsimb commented Nov 24, 2023

Fair point about the documentation. Will do.

doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
doc/user_guide/user_guide.md Outdated Show resolved Hide resolved
@ahsimb ahsimb merged commit ec5cabd into main Nov 29, 2023
3 checks passed
@ahsimb ahsimb deleted the mibe-slc-deployer-options branch November 29, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the ALTER SYSTEM call for the SLC definition toggleable
3 participants